#include "FirstRenderTargetListener.h"


FirstRenderTargetListener::FirstRenderTargetListener(void)
{
}


FirstRenderTargetListener::FirstRenderTargetListener(Ogre::Entity* ent)
{
	planeEnt=ent;

}


FirstRenderTargetListener::~FirstRenderTargetListener(void)
{
}


void FirstRenderTargetListener::preRenderTargetUpdate(const Ogre::RenderTargetEvent& evt)
{

	planeEnt->setVisible(false);
	

}

void FirstRenderTargetListener::postRenderTargetUpdate(const Ogre::RenderTargetEvent& evt)
{

	planeEnt->setVisible(true);

}